package com.doyambean.springcloud.consul.clientdemo.service.impl;

import com.doyambean.springcloud.consul.clientdemo.service.ClientDemoService;
import org.springframework.stereotype.Component;

/**
 * consul客户端调用服务实现类。
 *
 * @auther: xuchl
 * @date:20200217
 */
@Component
public class ClientDemoServiceImpl implements ClientDemoService {
    @Override
    public String clientDemoSrv() {
        return "this is a client invoke of consul demo";
    }
}
